7.8
HIGH CVSS 3.0
CVE-2016-4302
"Libarchive RAR Heap Buffer Overflow"
Description

Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.

INFO

Published Date :

Sept. 21, 2016, 2:25 p.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2016-4302 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_server_aus
5 Redhat enterprise_linux_server_eus
6 Redhat enterprise_linux_hpc_node
7 Redhat enterprise_linux_hpc_node_eus
1 Libarchive libarchive
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
This vulnerability allows for arbitrary code execution; update libarchive to the latest version.
  • Update libarchive to the latest version.
  • Update the affected packages to resolve this vulnerability.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-4302.

URL Resource
http://blog.talosintel.com/2016/06/the-poisoned-archives.html Exploit Third Party Advisory
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444 Issue Tracking
http://rhn.redhat.com/errata/RHSA-2016-1844.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3657
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
http://www.securityfocus.com/bid/91331 Third Party Advisory VDB Entry
http://www.talosintel.com/reports/TALOS-2016-0154/ Exploit Third Party Advisory
https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 Issue Tracking Patch
https://github.com/libarchive/libarchive/issues/719 Issue Tracking Patch
https://security.gentoo.org/glsa/201701-03
http://blog.talosintel.com/2016/06/the-poisoned-archives.html Exploit Third Party Advisory
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444 Issue Tracking
http://rhn.redhat.com/errata/RHSA-2016-1844.html Third Party Advisory
http://www.debian.org/security/2016/dsa-3657
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
http://www.securityfocus.com/bid/91331 Third Party Advisory VDB Entry
http://www.talosintel.com/reports/TALOS-2016-0154/ Exploit Third Party Advisory
https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 Issue Tracking Patch
https://github.com/libarchive/libarchive/issues/719 Issue Tracking Patch
https://security.gentoo.org/glsa/201701-03
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-4302 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-4302 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-4302 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://blog.talosintel.com/2016/06/the-poisoned-archives.html
    Added Reference http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1844.html
    Added Reference http://www.debian.org/security/2016/dsa-3657
    Added Reference http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
    Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
    Added Reference http://www.securityfocus.com/bid/91331
    Added Reference http://www.talosintel.com/reports/TALOS-2016-0154/
    Added Reference https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700
    Added Reference https://github.com/libarchive/libarchive/issues/719
    Added Reference https://security.gentoo.org/glsa/201701-03
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2016/dsa-3657 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201701-03 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 07, 2016

    Action Type Old Value New Value
    Added Reference http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
  • CVE Modified by [email protected]

    Sep. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
  • CVE Translated by [email protected]

    Sep. 22, 2016

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Sep. 21, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:libarchive:libarchive:3.2.0:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2016-1844.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2016-1844.html Third Party Advisory
    Changed Reference Type https://github.com/libarchive/libarchive/issues/719 No Types Assigned https://github.com/libarchive/libarchive/issues/719 Issue Tracking, Patch
    Changed Reference Type http://www.talosintel.com/reports/TALOS-2016-0154/ No Types Assigned http://www.talosintel.com/reports/TALOS-2016-0154/ Third Party Advisory, Exploit
    Changed Reference Type http://blog.talosintel.com/2016/06/the-poisoned-archives.html No Types Assigned http://blog.talosintel.com/2016/06/the-poisoned-archives.html Third Party Advisory, Exploit
    Changed Reference Type http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444 No Types Assigned http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444 Issue Tracking
    Changed Reference Type http://www.securityfocus.com/bid/91331 No Types Assigned http://www.securityfocus.com/bid/91331 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 No Types Assigned https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 Issue Tracking, Patch
    Added CWE CWE-119
  • Initial Analysis by [email protected]

    Sep. 21, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.34 }} -0.80%

score

0.84039

percentile